<template>
    <div class="recommend-list">
        <div class="title row">
            <span class="icon"></span>
            <span>猜你想看</span>
        </div>
        <div class="body">
            <div v-for="(item,index) in list" :key="index" class="item">
                <RecommendItem :item="item" />
            </div>
        </div>
    </div>
</template>

<script>
import RecommendItem from "../recommend-item/index";
export default {
    components: {
        RecommendItem
    },
    props: {
        list: Array
    },
    data() {
        return {};
    },

    methods: {}
};
</script>


<style lang="less" scoped>
.recommend-list {
    margin-bottom: 50px;
    .title {
        padding: 0 30px 0 30px;
        height: 30px;
        line-height: 30px;

        .icon {
            display: inline-block;
            width: 10px;
            height: 100%;
            background: #f70;
            margin-right: 12px;
        }
    }
    .body {
        width: 100%;
    }
}
</style>